<section *ngIf="showForm">
  <!-- <div class="clearfix">
    <h3 class="title" style="padding-bottom: 5px;margin-left: 12%;">设备图片</h3>
    <nz-upload
      style="margin-left: 12%;"
      [nzAction]="uploadUrl"
      nzListType="picture-card"
      [(nzFileList)]="fileList"
      [nzShowButton]="fileList.length < 1"
      nzAccept="image/*"
      [nzPreview]="handlePreview"
    >
      <div>
        <i nz-icon nzType="plus"></i>
        <div style="margin-top: 8px;margin-left: 12%;">上传图片</div>
      </div>
    </nz-upload>
    <nz-modal [nzVisible]="previewVisible" [nzContent]="modalContent" [nzFooter]="null" (nzOnCancel)="previewVisible = false">
      <ng-template #modalContent>
        <img [src]="previewImage" [ngStyle]="{ width: '100%' }" />
      </ng-template>
    </nz-modal>
  </div> -->
  <!-- <form nz-form [formGroup]="validateForm">
    <div nz-row [nzGutter]="24">
      <div nz-col [nzSpan]="12">
        <nz-form-item>
          <nz-form-label [nzSm]="6" [nzXs]="24" >门禁息屏时间</nz-form-label>
          <nz-form-control [nzSm]="18" [nzXs]="24">
            <nz-time-picker formControlName="btime"></nz-time-picker>~
            <nz-time-picker formControlName="etime"></nz-time-picker>
          </nz-form-control>
        </nz-form-item>
      </div>
      <div nz-col [nzSpan]="12">
        <nz-form-item>
          <nz-form-label [nzSm]="6" [nzXs]="24" >门禁摄像头开启时间</nz-form-label>
          <nz-form-control [nzSm]="18" [nzXs]="24">
            <nz-time-picker formControlName="cbtime"></nz-time-picker>~
            <nz-time-picker formControlName="cetime"></nz-time-picker>
          </nz-form-control>
        </nz-form-item>
      </div>
      <div nz-col [nzSpan]="12">
        <nz-form-item>
          <nz-form-label [nzSm]="6" [nzXs]="24" >门禁LED灯关闭时间</nz-form-label>
          <nz-form-control [nzSm]="18" [nzXs]="24">
            <nz-time-picker formControlName="lbtime"></nz-time-picker>~
            <nz-time-picker formControlName="letime"></nz-time-picker>
          </nz-form-control>
        </nz-form-item>
      </div>
    </div>
  </form> -->
  <sf [formData]="param" [schema]="schema" (formSubmit)="formSubmit($event)"></sf>
</section>
